package org.apache.servicecomb.samples.practise.houserush.login.api;

import org.apache.servicecomb.samples.practise.houserush.login.entity.User;

import javax.servlet.http.HttpServletRequest;

public interface UserApi {
    User createUser(User user);
    User findUser(int id);
    void removeUser(int id);
    boolean updatePassword(int custumerId, User user);
    User signin(User user);
    //校验token
    User verifyToken(String token);
}
